<%@ taglib uri="/WEB-INF/tags/c.tld" prefix="c" %>	
<%@ taglib uri="/WEB-INF/tags/fn.tld" prefix="fn" %>	
<%@ taglib uri="/WEB-INF/tags/fmt.tld" prefix="fmt" %>	
<%@ taglib uri="/WEB-INF/tags/spring.tld" prefix="spring" %>	
<%@ taglib uri="/WEB-INF/tags/spring-form.tld" prefix="form" %>

<spring:hasBindErrors name="kurancyCreatedSearchForm">
	<h3>You have errors in your input!</h3>
	<font color="red">
	    <c:forEach items="${errors.allErrors}" var="error">
	    	<spring:message code="${error.code}" text="${error.defaultMessage}"/>
		</c:forEach>
	</font>
</spring:hasBindErrors>

<div>
	<h1><spring:message code="get.my.money"/></h1>
	<form:form commandName="searchForm">
		<form:input path="kurancyToken" title="Kurancy Code" maxlength="9"/>
		<p><input type="submit" class="kurancy-submit" value='<spring:message code="get.my.money.search"/>'/></p>
	</form:form>
	
</div>